<template>
	<view class="box">
		<view class="chatHistory">
			<view class="info megBox">
				<view class="msgLeft">
					<!-- 头像 -->
					<view class="head">
						<image src="../../static/logo.jpg" mode=""></image>
					</view>
				</view>
				<view class="msgRight">
					<view class="title">
						<view class="name">
							金融-1986
						</view>
						<view class="time">
							女 1986年
						</view>
					</view>
					<view class="content">
						硕士&nbsp;&nbsp;|&nbsp;&nbsp;北京-朝阳区
					</view>
				</view>
			</view>
			<view class="chatMsg">
				<view class="myMsg">
					<view class="msg fl">
						[TA在"遇见"喜欢了你,向你打招呼]你好，看了你的资料，可以了解一下吗
					</view>
					<view class="head fr">
						<image src="../../static/logo.jpg" mode=""></image>
					</view>
				</view>
			</view>
		</view>
		<view class="inp">
			<input type="text" value="" />
			<button type="primary" size="mini">发送</button>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {

			}
		},
		methods: {

		}
	}
</script>

<style>
	.inp {
		width: 100%;
		height: 120rpx;
		background-color: #f8f8f8;
		position: fixed;
		left: 0;
		bottom: 0;
	}

	.fl {
		float: left;
	}

	.fr {
		float: right;
	}

	.inp input {
		width: 550rpx;
		height: 70rpx;
		margin: 32rpx;
		background-color: #fff;
		text-indent: 1rem;
		display: inline-block;
	}

	.inp button {
		/* width: 100rpx; */
		height: 60rpx;
		font-size: 28rpx;
		margin-top: 34rpx;
		vertical-align: top;
		background-color: #1bad1e;
	}

	.box {
		height: 90vh;
		background-color: #f1f1f1;
	}

	.chatHistory .info {
		width: 685rpx;
		height: 180rpx;
		border-radius: 10rpx;
		background-color: #fff;
		margin: 0 32rpx;
	}

	.megBox {
		height: 202rpx;
		overflow: hidden;
	}

	.megBox .msgLeft {
		height: 202rpx;
		float: left;
		overflow: hidden;
	}

	.megBox .msgLeft image {
		width: 108rpx;
		height: 108rpx;
		margin: 26rpx;
		border-radius: 15rpx;
	}

	.megBox .msgRight {
		margin-left: 160rpx;
		overflow: hidden;
	}

	.megBox .msgRight .title {
		overflow: hidden;
	}

	.megBox .msgRight .name {
		font-size: 32rpx;
		line-height: 96rpx;
		font-weight: bold;
		float: left;
	}

	.megBox .msgRight .time {
		font-size: 24rpx;
		line-height: 42rpx;
		padding: 0 25rpx;
		margin-top: 20rpx;
		margin-left: 16rpx;
		border-radius: 21rpx;
		background-color: #fa575a;
		color: #fff;
		float: left;
	}

	.megBox .msgRight .content {
		font-size: 26rpx;
		line-height: 28rpx;
		margin-bottom: 78rpx;
		color: #6d6d6d;
	}
	.chatMsg .msg{
		width: 544rpx;
		font-size: 34rpx;
		line-height: 46rpx;
		padding: 15rpx 20rpx;
		margin: 20rpx 0 0 50rpx;
		border-radius: 10rpx;
		background-color: #9aea71;
	}
	.chatMsg .head image{
		width: 80rpx;
		height: 80rpx;
		margin: 20rpx 32rpx 0 0;
		border-radius: 5rpx;
	}
</style>
